<?php

declare (strict_types=1);
namespace App\Model;

/**
 * @property int $id 
 * @property int $user_id 用户id
 * @property int $shop_id shop_id
 * @property int $type 1关注 2点赞 3收藏 4加购物车 5订单
 * @property int $resource_type 1动态  2商家
 * @property int $resource_id 动态id
 * @property int $is_cancel 取消关注1是 0否
 */
class FlyShopFans extends CloudBase
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'fly_shop_fans';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'id' => 'integer',
        'user_id' => 'string',
        'shop_id' => 'string',
        'type' => 'integer',
        'resource_type' => 'integer',
        'resource_id' => 'integer',
        'is_cancel' => 'integer'
    ];
}